\hypertarget{classLinearEquation}{\section{Linear\-Equation Class Reference}
\label{classLinearEquation}\index{Linear\-Equation@{Linear\-Equation}}
}


{\ttfamily \#include $<$linear\-\_\-equation.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classLinearEquation_a71f93d106ed27aabb790d9821007c85f}{Linear\-Equation} ()
\item 
\hyperlink{classLinearEquation_a3553356707bde9646f9a25596aa0fbb0}{Linear\-Equation} (int)
\item 
void \hyperlink{classLinearEquation_ad43e34e991e866107f66c1952ac9a42b}{Set\-Ith\-Coefficient} (int, \hyperlink{classCoefficient}{Coefficient})
\item 
\hyperlink{classCoefficient}{Coefficient} \hyperlink{classLinearEquation_a4c210db46cadb192b44f1e63ef17c852}{Get\-Ith\-Coefficient} (const int)
\item 
void \hyperlink{classLinearEquation_aa1dadf68ae689342b59e0a7ab2562005}{Print\-Equation\-To\-Stdout} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class is used to store and manipulate a linear equation. It handles proper methods to modify the equation, without knowledge of the internal representation of \hyperlink{classCoefficient}{Coefficient}'s. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classLinearEquation_a71f93d106ed27aabb790d9821007c85f}{\index{Linear\-Equation@{Linear\-Equation}!Linear\-Equation@{Linear\-Equation}}
\index{Linear\-Equation@{Linear\-Equation}!LinearEquation@{Linear\-Equation}}
\subsubsection[{Linear\-Equation}]{\setlength{\rightskip}{0pt plus 5cm}Linear\-Equation\-::\-Linear\-Equation (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classLinearEquation_a71f93d106ed27aabb790d9821007c85f}
Simple Constructor. \hypertarget{classLinearEquation_a3553356707bde9646f9a25596aa0fbb0}{\index{Linear\-Equation@{Linear\-Equation}!Linear\-Equation@{Linear\-Equation}}
\index{Linear\-Equation@{Linear\-Equation}!LinearEquation@{Linear\-Equation}}
\subsubsection[{Linear\-Equation}]{\setlength{\rightskip}{0pt plus 5cm}Linear\-Equation\-::\-Linear\-Equation (
\begin{DoxyParamCaption}
\item[{int}]{number\-\_\-of\-\_\-coeficients}
\end{DoxyParamCaption}
)}}\label{classLinearEquation_a3553356707bde9646f9a25596aa0fbb0}
Constructor.


\begin{DoxyParams}{Parameters}
{\em number\-\_\-of\-\_\-coeficients} & the number of coefficients for the equation. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classLinearEquation_a4c210db46cadb192b44f1e63ef17c852}{\index{Linear\-Equation@{Linear\-Equation}!Get\-Ith\-Coefficient@{Get\-Ith\-Coefficient}}
\index{Get\-Ith\-Coefficient@{Get\-Ith\-Coefficient}!LinearEquation@{Linear\-Equation}}
\subsubsection[{Get\-Ith\-Coefficient}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Coefficient} Linear\-Equation\-::\-Get\-Ith\-Coefficient (
\begin{DoxyParamCaption}
\item[{const int}]{index}
\end{DoxyParamCaption}
)}}\label{classLinearEquation_a4c210db46cadb192b44f1e63ef17c852}
Getter for the ith \hyperlink{classCoefficient}{Coefficient}.


\begin{DoxyParams}{Parameters}
{\em index} & The index of the required \hyperlink{classCoefficient}{Coefficient} in the equation. \\
\hline
\end{DoxyParams}
\hypertarget{classLinearEquation_aa1dadf68ae689342b59e0a7ab2562005}{\index{Linear\-Equation@{Linear\-Equation}!Print\-Equation\-To\-Stdout@{Print\-Equation\-To\-Stdout}}
\index{Print\-Equation\-To\-Stdout@{Print\-Equation\-To\-Stdout}!LinearEquation@{Linear\-Equation}}
\subsubsection[{Print\-Equation\-To\-Stdout}]{\setlength{\rightskip}{0pt plus 5cm}void Linear\-Equation\-::\-Print\-Equation\-To\-Stdout (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classLinearEquation_aa1dadf68ae689342b59e0a7ab2562005}
This method prints the equation to stdout. \hypertarget{classLinearEquation_ad43e34e991e866107f66c1952ac9a42b}{\index{Linear\-Equation@{Linear\-Equation}!Set\-Ith\-Coefficient@{Set\-Ith\-Coefficient}}
\index{Set\-Ith\-Coefficient@{Set\-Ith\-Coefficient}!LinearEquation@{Linear\-Equation}}
\subsubsection[{Set\-Ith\-Coefficient}]{\setlength{\rightskip}{0pt plus 5cm}void Linear\-Equation\-::\-Set\-Ith\-Coefficient (
\begin{DoxyParamCaption}
\item[{int}]{index, }
\item[{{\bf Coefficient}}]{coef}
\end{DoxyParamCaption}
)}}\label{classLinearEquation_ad43e34e991e866107f66c1952ac9a42b}
Setter for the ith \hyperlink{classCoefficient}{Coefficient}.


\begin{DoxyParams}{Parameters}
{\em index} & the index of the variable to be replaced. \\
\hline
{\em coef} & the new \hyperlink{classCoefficient}{Coefficient} to put in the equation. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
linear\-\_\-equation.\-h\item 
linear\-\_\-equation.\-cpp\end{DoxyCompactItemize}
